package com.touni.designpattern.abstractfactorypattern.abfactory;

import com.touni.designpattern.abstractfactorypattern.abfactory.factory.Color;
import com.touni.designpattern.abstractfactorypattern.abfactory.factory.Shape;

/**
 * @ClassName : AbstractFactory
 * @Description :  抽象工厂类  用来获取各个子工厂
 * @Author : lwq
 * @Date: 2020-10-19 08:59
 */
public abstract class AbstractFactory {
    public abstract Shape getShape(String shapeName);
    public abstract Color getColor(String colorName);

}
